﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Web.master" AutoEventWireup="true" CodeBehind="HallDetail.aspx.cs" Inherits="badminton.Pages.HallDetail" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

<%@ Register assembly="badminton" namespace="badminton.bdmControls" tagprefix="bdmc" %>
<%@ Register    Assembly="AjaxControlToolkit"    Namespace="AjaxControlToolkit"   TagPrefix="ajaxToolkit" %>

<%@ Register Src="~/Controls/CourtScheduleCtrl.ascx" TagName="CourtSchedule" TagPrefix="bdmc" %>
<%@ Register Src="~/Controls/HallPics.ascx" TagName="HallPics" TagPrefix="bdmc" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">

        /* Accordion */
        .accordionHeader
        {
            border: 1px solid #2F4F4F;
            color: white;
            background-color: #2E4d7B;
	        font-family: Arial, Sans-Serif;
	        font-size: 12px;
	        font-weight: bold;
            padding: 5px;
            margin-top: 5px;
            cursor: pointer;
        }

        #master_content .accordionHeader a
        {
	        color: #FFFFFF;
	        background: none;
	        text-decoration: none;
        }

        #master_content .accordionHeader a:hover
        {
	        background: none;
	        text-decoration: underline;
        }

        .accordionHeaderSelected
        {
            border: 1px solid #2F4F4F;
            color: white;
            background-color: #5078B3;
	        font-family: Arial, Sans-Serif;
	        font-size: 12px;
	        font-weight: bold;
            padding: 5px;
            margin-top: 5px;
            cursor: pointer;
        }

        #master_content .accordionHeaderSelected a
        {
	        color: #FFFFFF;
	        background: none;
	        text-decoration: none;
        }

        #master_content .accordionHeaderSelected a:hover
        {
	        background: none;
	        text-decoration: underline;
        }

        .accordionContent
        {
            background-color: #D3DEEF;
            border: 1px dashed #2F4F4F;
            border-top: none;
            padding: 5px;
            padding-top: 10px;
        }
        
        td
        {
        	vertical-align:top;
        }

    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table border="0" cellspacing="0" cellpadding="2" width="100%">
    	<tr>
    		<td width="200px">
                <table border="0" cellspacing="0" cellpadding="2" width="100%">
                    <tr>
                     <td valign="top">
                        <ajaxToolkit:Accordion ID="MyAccordion" runat="server" SelectedIndex="0"
                            HeaderCssClass="accordionHeader" HeaderSelectedCssClass="accordionHeaderSelected"
                            ContentCssClass="accordionContent" FadeTransitions="false" FramesPerSecond="40" 
                            TransitionDuration="250" AutoSize="None" RequireOpenedPane="false" SuppressHeaderPostbacks="true">

                        </ajaxToolkit:Accordion>
                        <br/><hr />
                     </td>
                    </tr>
                    <tr>
                     <td valign="bottom">
                        <bdmc:HallPics runat="server" />
                     </td>
                    </tr>
                </table>
            </td>
            <td>
                <table border="0" cellspacing="0" cellpadding="2" width="100%">
                	<tr>
                		<td  height="20px">球馆介绍&gt;&gt;<asp:Label ID="Label1" runat="server" Text="Label"/>&gt;&gt;<asp:Label ID="Label2" runat="server" Text="Label"/></td>
                	</tr>
                    <tr>
                    	<td height="20px" class="title">球馆介绍</td>
                    </tr>
                    <tr>
                    	<td><bdmc:HtmlEditorNoBottom ID="Editor1" runat="server" Height="100%"      Width="100%" />
                        </td>
                    </tr>                                
                    <tr>
                    	<td height="20px" class="title">场地预定</td>
                    </tr>
                    <tr>
                    	<td>
                          <bdmc:CourtSchedule ID="CS1" runat="Server" />
                        </td>
                    </tr>                                
                    <tr>
                    	<td height="20px" class="title">教练介绍</td>
                    </tr>
                    <tr>
                    	<td>
                            <asp:Repeater ID="RepeaterTrainer" runat="server">
                            <HeaderTemplate>
                            <table>
                            </HeaderTemplate>
                            <ItemTemplate>
                            <tr>
                                <td>
                                    <asp:HyperLink ID="HyperLink1" Text='<%# Eval("name") %>' runat="server" />
                                </td>
                            </tr>
                            </ItemTemplate>
                            <FooterTemplate>
                            </table>
                            </FooterTemplate>
                            </asp:Repeater>

                        </td>
                    </tr>        
                    <tr>
                    	<td>
                            <table border="0" cellspacing="0" cellpadding="6" width="100%">
                            	<tr>
                            		<td height="20px" class="title">球馆展示</td><td height="20px" class="title">交通地图</td>
                            	</tr>
                            	<tr>
                            		<td>
                                        <asp:Image ID="Image1" runat="server" />
                                    </td>
                                    <td>
                                        <asp:Image ID="Image2" runat="server" />
                                    </td>
                            	</tr>
                            </table>
                        </td>
                    </tr>

                </table>
                
            </td>
    	</tr>
    </table>
</asp:Content>
